const ESLintPlugin = require("eslint-webpack-plugin")

module.exports = {
    mode: "development",
    devtool:"eval-source-map",
    devServer: {
        port: 8080,
        open:true
    },
    plugins: [
        new ESLintPlugin({
            eslintPath: "eslint",
            extensions: ['js', 'vue'],
            exclude: ['node_modules'],
            fix: false,
            formatter:"stylish"
        })
    ]
}